import { Module } from '@nestjs/common';
import { TypeOrmModule } from '@nestjs/typeorm';
import { RewardController } from './reward.controller';
import { Reward } from './reward.entity';
import { RewardService } from './reward.service';
import { RewardSuccess } from '../rewardSuccess/rewardSuccess.entity';
import { Video } from '../video/video.entity';
import { User } from '../user/user.entity';
import { UserService } from '../user/user.service';

@Module({
  imports: [TypeOrmModule.forFeature([Reward, RewardSuccess, Video, User])],
  controllers: [RewardController],
  providers: [RewardService, UserService],
})
export class RewardModule {}
